import { createRouter, createWebHashHistory } from "vue-router";

import father from '../Father.vue'
import car from '../car.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:father
        },
        {
            path:'/car/:carId/:carName/:carPrice',
            component:car
        }
    ]
})

export default router